package edu.bu.cs511.p5;

/** 
 * This is the Demonstration Task
 */
public class DemoTask implements IOpcode {
    private String id;

    /**
     *
     *
     * @param id
     */
    public DemoTask(String id) {
        this.id = id;
    }

    /**
     * This method prints out the task id being executed
     */
    public void execute() {
        System.out.print(id);
    }

    public boolean isEnabled() {
        return true;
    }
}
